using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 系统通知仓储接口
    /// </summary>
    public interface ISystemNotificationRepository : IRepository<SystemNotification>
    {
        Task<IEnumerable<SystemNotification>> GetByUserIdAsync(Guid userId);
        Task<IEnumerable<SystemNotification>> GetUnreadAsync(Guid userId);
        Task<IEnumerable<SystemNotification>> GetByTypeAsync(string type);
        Task<int> GetUnreadCountAsync(Guid userId);
    }
}